package test0;

public class SimpleMovieLister {

	private MovieFinder movieFinder;

	/*
	public SimpleMovieLister(MovieFinder movieFinder) {
		this.movieFinder = movieFinder;
	}
	*/
	
	public String getData(String name) {
		return "Hi " + name + "! " + movieFinder.getData();
	}
	
	public MovieFinder getMovieFinder() {
		return movieFinder;
	}

	public void setMovieFinder(MovieFinder movieFinder) {
		this.movieFinder = movieFinder;
	}
}
